local thbattle__bayunlan_suluo = fk.CreateSkill {

  name = "thbattle__bayunlan_suluo",

  tags = { Skill.Compulsory, },

}



thbattle__bayunlan_suluo:addEffect(fk.DamageInflicted, {
  anim_type = "defensive",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(thbattle__bayunlan_suluo.name) and target == player and data.card and data.card.type == Card.TypeTrick and
        player:isKongcheng()
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    data.damage = (data.damage or 0) - 1
  end,
})

return thbattle__bayunlan_suluo